package com;

import java.util.Scanner;

public class xunhuan {
public static void main(String[] args) {
	System.out.println("请输入字符串");
	Scanner in=new Scanner(System.in);
	String str=in.nextLine();
	int a,b,c,d;
	a=str.length();
	b=str.indexOf("abcdefghijklmnopqrstuvwxyz");
	c=str.indexOf(" ");
	d=str.indexOf("0123456789");
	System.out.println(a);
	System.out.println(b);
	System.out.println(c);
	System.out.println(d);

	
}
}

